<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <title>群聊</title>
    <link rel="stylesheet" href="css/bundle.less" />
    <link rel="icon" href="data:;base64,=">
  </head>
  <body>
    <div id="app"></div>
    <script>
      __VERSION__ = "<%=conf.version || ''%>";
      __PUBLIC_PATH__ = "<%=conf.publicPath || ''%>";
      __LOGOUT__ = "<%=conf.logout || ''%>";
      __ADMIN__ = "<%=conf.admin || ''%>";
      __ON_LINK__ = function (link = '', open = false, _alert = alert) {
        return function (e) {
          if (/mobile|iphone|android/i.test(navigator.userAgent)) {
            e.preventDefault()
            if (open) {
              // open by dsbridge
              _alert('需要对接APP处理')
            } else {
              _alert('请在PC端查看')
            }
          }
        }
      };
    </script>
    <script src="<%=conf.publicPath%>/config.js?<%=Date.now()%>"></script>
    <script src="src/index.tsx"></script>
  </body>
</html>
